package constant.milk.cashbook.apt;

import java.util.HashMap;

import android.content.Context;
import constant.milk.cashbook.database.DbAdapter;
import constant.milk.cashbook.database.DbInsertQuery;

public class UlsanSetting
{
	private DbInsertQuery insertQuery;
	
	public UlsanSetting(Context context, DbAdapter db)
	{
		insertQuery = new DbInsertQuery(context, db);
	}
	
	public void Setting() throws Exception
	{
		setData("북구", "224", "157");
		setData("동구",	"285", "201");
		setData("중구",	"241", "168");
		setData("남구",	"288", "208");
		setData("울주군",	"207", "143");
	}
	
	private void setData(String name, String meib, String junse) throws Exception
	{
		HashMap<String, String> map = new HashMap<String, String>();
		
		map.put("title", "울산광역시");
		map.put("name", name);
		map.put("meib", meib);
		map.put("junse", junse);
		
		insertQuery.setAptData(map);
	}
}
